import Carousel from './carousel.vue'
import CarouselAdd from './carouselAdd.vue'
import CarouselEdit from './carouselEdit.vue'
import CarouselSearch from './carouselSearch.vue'
import CarouselView from './carouselView.vue'

const components = [
  Carousel,
  CarouselAdd,
  CarouselEdit,
  CarouselSearch,
  CarouselView
]

const main = {
  install(Vue) {
    components.map((component) => {
      Vue.component(component.name, component)
    })
  }
}

export default main
